<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Java Golf Association</title>
</head>
<body>
	<div id="container">
		<%@ include file="/includes/Navigation.html"%>

		<div id="content">
			<br />
			<h2 style="text-align: center;">Your membership has been accepted.  Please login</h2>
			<br />
			<sf:form action="login.htm" method="POST" target="login" commandName="LoginForm">
				<table>
					<tr>
						<td><label>User name:</label></td>
						<td><input type="text" name="username" id="username" value="<c:out value="${email}"/>" size="30" /></td>		
					</tr>		
					<tr>
						<td><label>Password:</label></td>
						<td><input type="text" name="pass" id="pass" size="30"/></td>
					</tr>
					<tr>
						<td colspan=3>
							<button type="submit">Login</button> 
							<input type="button" value="Cancel" onclick="location.href='index.jsp'"/>
						</td>
					</tr>
				</table>
			</sf:form>
			<br />
			<br />
			<%@ include file="/includes/footer.html"%>
		</div>
	</div>
</body>
</html>